<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=encoding">
<title>Insert title here</title>
</head>

    <body>
  
    <?php
    $conexion=mysql_connect("localhost", "root", "alcalde") or die("Error conectando");
	mysql_select_db("textos",$conexion)or die ("Error seleccionando bd");
	$consulta= "SELECT * FROM texto";
	$consultamsql= mysql_query($consulta,$conexion) or die("Error consulta");
	$numfilas= mysql_num_rows($consultamsql);
	if($numfilas>0){
		while($resultado=mysql_fetch_assoc($consultamsql)){
			echo"$resultado[autor]<br> ";
		}
	}
	
	?>
    </body>
    
</html>